package cn.com.entity;

import java.io.Serializable;

public class Consumer  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//创建普通用户类
	private int consumerid;
	private String consumername;//用户名	
	private String consumerpwd;//密码
	private String realname;//名字
	private int consumerage;//年龄
	private String consumersex;//性别	
	private String consumeridcard;//身份证
	private String consumerphone;//手机号码
	private String consumeremail;//Email邮箱
	
	public Consumer() {
		super();
	}

	public Consumer(String consumername, String consumerpwd) {
		super();
		this.consumername = consumername;
		this.consumerpwd = consumerpwd;
	}

	public Consumer(int consumerid, String consumername, String consumerpwd,
			String realname, int consumerage, String consumersex,
			String consumeridcard, String consumerphone, String consumeremail) {
		super();
		this.consumerid = consumerid;
		this.consumername = consumername;
		this.consumerpwd = consumerpwd;
		this.realname = realname;
		this.consumerage = consumerage;
		this.consumersex = consumersex;
		this.consumeridcard = consumeridcard;
		this.consumerphone = consumerphone;
		this.consumeremail = consumeremail;
	}

	public Consumer(String consumername, String consumerpwd, String realname,
			int consumerage, String consumersex, String consumeridcard,
			String consumerphone, String consumeremail) {
		super();
		this.consumername = consumername;
		this.consumerpwd = consumerpwd;
		this.realname = realname;
		this.consumerage = consumerage;
		this.consumersex = consumersex;
		this.consumeridcard = consumeridcard;
		this.consumerphone = consumerphone;
		this.consumeremail = consumeremail;
	}

	public int getConsumerid() {
		return consumerid;
	}

	public void setConsumerid(int consumerid) {
		this.consumerid = consumerid;
	}

	public String getConsumername() {
		return consumername;
	}

	public void setConsumername(String consumername) {
		this.consumername = consumername;
	}

	public String getConsumerpwd() {
		return consumerpwd;
	}

	public void setConsumerpwd(String consumerpwd) {
		this.consumerpwd = consumerpwd;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public int getConsumerage() {
		return consumerage;
	}

	public void setConsumerage(int consumerage) {
		this.consumerage = consumerage;
	}

	public String getConsumersex() {
		return consumersex;
	}

	public void setConsumersex(String consumersex) {
		this.consumersex = consumersex;
	}

	public String getConsumeridcard() {
		return consumeridcard;
	}

	public void setConsumeridcard(String consumeridcard) {
		this.consumeridcard = consumeridcard;
	}

	public String getConsumerphone() {
		return consumerphone;
	}

	public void setConsumerphone(String consumerphone) {
		this.consumerphone = consumerphone;
	}

	public String getConsumeremail() {
		return consumeremail;
	}

	public void setConsumeremail(String consumeremail) {
		this.consumeremail = consumeremail;
	}

	
	
	//封装了全部，封装了除去id的，封装了帐号密码，封装了一个没有参数的
}
